finding vertex and axis of symmetry